<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>

{%  for bb in b %}
    <div>{{ forloop.counter }}{{ bb }}</div>
{% endfor %}

</body>
</html>